package cn.cdutetc.library.entity.dto;

import lombok.Data;
import java.util.List;

/**
 * 菜单权限DTO
 */
@Data
public class MenuDTO {
    private String menuId;
    private String menuName;
    private String menuUrl;
    private String icon;
    private Integer sort;
    private List<MenuDTO> children;
    
    public MenuDTO() {}
    
    public MenuDTO(String menuId, String menuName, String menuUrl, String icon, Integer sort) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.menuUrl = menuUrl;
        this.icon = icon;
        this.sort = sort;
    }
}